<!doctype html>
{% load static %}
<html lang="ru">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <title>Маршрутизация ВКМ</title>

    <link rel="stylesheet" href="{% static "css/bootstrap.css" %}">
    <link rel="stylesheet" href="{% static "fonts/SB Sans WEB.zip" %}">
    <link rel="stylesheet" href="{% static "css/custom.css" %}">

    {% if messages %}
        {% for message in messages %}
            {% if message.level == DEFAULT_MESSAGE_LEVELS.ERROR %}
                <div class="alert alert-danger">
                <a class="close" href="/orders" data-dismiss="alert">×</a>
                {{ message }}
                </div>
            {% endif %}
            {% if message.level == DEFAULT_MESSAGE_LEVELS.WARNING %}
                <div class="alert alert-warning">
                <a class="close" href="/orders" data-dismiss="alert">×</a>
                {{ message }}
                </div>
            {% endif %}
        {% endfor %}
    {% endif %}

</head>
<body>
    {% include "navbar.html" %}
    <main role="main" class="container-fluid">
        {% block content %}
        {% endblock %}
    </main>
    <script src="{% static "js/jquery.js" %}">
</body>
</html>
